import serve from "rollup-plugin-serve";


// rollup 可以打包 es6 的模块化
export default{

    input:"./src/single-spa.js",
    output:{
        file:"./lib/umd/single-spa.js",
        format:"umd",
        name:"singlespa",
        sourcemap:true,
    },
    plugins:[
        serve({
            openPage:"/index.html",
            contentBase:"",
            port:3000
        })
    ]
}